import saber from '../public/saber.jpg'

class Servant {
    constructor(name) {
        this.name = name
    }
    call () {
        console.log(`All hail ${this.name}`)
    }
}

let servant = new Servant('saber');
servant.call();

let img = document.createElement("img");
img.src = saber;
document.body.appendChild(img);